package org.jeecg.modules.zhima.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 赛事
 * @Author: jeecg-boot
 * @Date:   2021-02-25
 * @Version: V1.0
 */
@Data
@TableName("zm_game_rule")
@ApiModel(value="zm_game_rule对象", description="赛事")
public class ZmGameRule implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**标题*/
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String name;
    /**赛事规则标识*/
    @Excel(name = "赛事规则标识", width = 15)
    @ApiModelProperty(value = "赛事规则标识")
    private String code;
    /**
     * 报名规则：0、免费，1、RMB，2、积分，3、用户自选
     * */
    @Excel(name = "报名规则", width = 15)
    @ApiModelProperty(value = "报名规则")
    private Integer joinRule;
    /**
     * 奖励规则：0、无，1、RMB，2、积分，3、实物
     * */
    @Excel(name = "奖励规则", width = 15)
    @ApiModelProperty(value = "奖励规则")
    private Integer awardRule;
    /**奖励*/
    @Excel(name = "奖励", width = 15)
    @ApiModelProperty(value = "奖励")
    private BigDecimal awardNum;
    /**参赛费/元*/
    @Excel(name = "参赛费/元", width = 15)
    @ApiModelProperty(value = "参赛费/元")
    private BigDecimal joinNum;
    /**奖励*/
    @Excel(name = "奖励", width = 15)
    @ApiModelProperty(value = "奖励")
    private String award;
	/**状态*/
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;
    /**算法ID*/
    @Excel(name = "算法ID", width = 15)
    @ApiModelProperty(value = "算法ID")
    private String awardId;


}
